package com.atlige.gzmall.product.feign;

import com.atlige.common.to.es.SkuEsModel;
import com.atlige.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author Jeremy Li
 * @data 2021/3/27 - 12:31
 */
@FeignClient("gzmall-search")
public interface SearchFeignService {
    @PostMapping("/search/product")
    public R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
